
<form action="{:url()}" method="post" data-auto="true" class="layui-form layui-card" data-table-id="MemberTable">
    <div class="layui-card-body">
        <div class="layui-form-item">
            <label class="layui-form-label">邮箱</label>
            <div class="layui-input-block">
                <input name="email" value="{$vo.email|default=''}" required {notempty name="$vo.id"} readonly {/notempty} vali-name="邮箱" placeholder="请输入邮箱" class="layui-input" type="text">
                <p class="help-block"><b>必填</b>，请填写邮箱</p>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label label-required-next">币种</label>
            <div class="layui-input-block">
                <select name='coin_id' class='layui-select' vali-name="币种">
                    {foreach name="pay_coin_list" item="item"}
                    <option value="{$item.id}">{$item.coin_name}</option>
                    {/foreach}
                </select>
            </div>
        </div>

        <div class="layui-form-item">
            <label class="layui-form-label label-required-next">类型</label>
            <div class="layui-input-block">
                <select name='pay_type' class='layui-select'>
                    <option value="1" selected>增加</option>
                    <option value="2">减少</option>
                </select>
                <p class="help-block"><b>必选</b></p>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">请输入金额</label>
            <div class="layui-input-block">
                <input name="amount" value=""  placeholder="请输入金额" required  vali-name="金额" class="layui-input"  type="text">
                <p class="help-block"><b>请输入金额</b></p>
            </div>
        </div>
    </div>
    <div class="hr-line-dashed"></div>
    <input type='hidden' value='{$vo.id|default=0}' name='id'>
    <div class="layui-form-item text-center">
        <button class="layui-btn" type='submit'>确定</button>
        <button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消吗？" data-close>取消</button>
    </div>
</form>
